 |
API Documentation
|
|
18 unsigned char* _data = nullptr ;
20 unsigned int _width = 0 ;
21 unsigned int _height = 0 ;
22 unsigned int _rowByteSize = 0 ;
24 FORMAT _imageFormat = R8G8B8A8_UNORM ;
ImageData(ImageData &&other)
nkMaths::Vector getPixelAt(unsigned int xPix, unsigned int yPix)
Holds an image data and its description in memory.
Definition: ImageData.h:15
bool exportToFileAsBmp(const char *path)
void setPixelAt(unsigned int xPix, unsigned int yPix, const nkMaths::Vector &color)
FORMAT
Available formats for resources.
Definition: DxDefinesWrapper.h:155
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
A 4-component vector class, with floats.
Definition: Vector.h:12